﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XingFuStudio.Pioneer.Container {
    /// <summary>
    /// 插件配置信息实体类
    /// </summary>
    public class ConfigSection {
        /// <summary>
        /// 插件对应开心网模块编号
        /// </summary>
        private int pluginId = 0;
        /// <summary>
        /// 插件名称
        /// </summary>
        private string pluginName = String.Empty;
        /// <summary>
        /// 插件显示中文
        /// </summary>
        private string pluginText = String.Empty;
        /// <summary>
        /// 插件对应程序集名称（dll名）
        /// </summary>
        private string assemblyName = String.Empty;
        /// <summary>
        /// 插件对应程序集类型名（类名）
        /// </summary>
        private string typeName = String.Empty;

        /// <summary>
        /// 获取或设置插件对应开心网模块编号
        /// </summary>
        public int PluginId {
            get {
                return this.pluginId;
            }
            set {
                this.pluginId = value;
            }
        }

        /// <summary>
        /// 获取或设置插件名称
        /// </summary>
        public string PluginName {
            get {
                return this.pluginName;
            }
            set {
                this.pluginName = value;
            }
        }

        /// <summary>
        /// 获取或设置插件显示中文
        /// </summary>
        public string PluginText {
            get {
                return this.pluginText;
            }
            set {
                this.pluginText = value;
            }
        }

        /// <summary>
        /// 获取或设置程序集名称（dll名）
        /// </summary>
        public string AssemblyName {
            get {
                return this.assemblyName;
            }
            set {
                this.assemblyName = value;
            }
        }

        /// <summary>
        /// 获取或设置程序集类型名称（类名）
        /// </summary>
        public string TypeName {
            get {
                return this.typeName;
            }
            set {
                this.typeName = value;
            }
        }
    }
}
